package com.lyncs.ods.req;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.lyncs.ods.modules.setting.model.PaymentAttr;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author alex
 * @date 2022/5/5 00:19
 * @description
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class CompanyPaymentEditReq {

    @NotNull
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("状态：1.启用；2.禁用")
    @NotNull
    private Integer status;

    @ApiModelProperty("收款方式配置属性")
    @NotNull
    private List<PaymentAttr> attrInfos;
}
